package com.liuche.pictureserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liuche.pictureserver.pojo.domain.PictureDO;
import com.liuche.pictureserver.pojo.req.picture.PicturePageReqVO;
import org.apache.ibatis.annotations.Param;

/**
 * @author liuche
 * @description 针对表【picture(图片信息)】的数据库操作Mapper
 * @createDate 2025-01-14 23:06:58
 */
public interface PictureMapper extends BaseMapper<PictureDO> {
    /**
     * 分页查询
     *
     * @param page 分页参数
     * @param req  查询参数
     * @return 结果
     */
    IPage<PictureDO> queryPage(@Param("page") Page<PictureDO> page, @Param("req") PicturePageReqVO req);
}




